-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamically set properties on runtime using setProperties #1333
Conversation
How to use this feature to highlight a feature on tap, I want to highlight by ID, but how to write expression. @martinale14 |
@dhaq if you want to highlight use the default tap on symbol an change the properties using the new method on a layer |
Hi is this still in work cause I would need this. Because I need to change the literals of the text-Font of my Symbol Layer |
@@ -138,6 +139,10 @@ final class MapboxMapController | |||
private LatLng dragOrigin; | |||
private LatLng dragPrevious; | |||
private LatLngBounds bounds = null; | |||
private HashMap<String, LineLayer> lineLayers = new HashMap<String, LineLayer>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a need to do this? Can’t you just the get the layer from the style?
@@ -28,6 +28,10 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma | |||
private var interactiveFeatureLayerIds = Set<String>() | |||
private var addedShapesByLayer = [String: MGLShape]() | |||
|
|||
private var lineLayers = [String : MGLLineStyleLayer]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as with android
) | ||
) | ||
|
||
let newBounds: MGLCoordinateBounds = MGLCoordinateBounds.fromArray(bounds) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whats the intent of this change? why only on ios?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
No description provided.